package cn.maihe.elg.operation.centers.epoint.dto.handler;

import cn.maihe.elg.operation.centers.epoint.dto.EpointBaseReqDTO;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * @Description 退保申请 入参
 * @Author SSX
 * @Date 2025/07/04
 */
@Data
public class MeiShanQuitApplyReq extends EpointBaseReqDTO {
    /**
     * 是	平台编码（由数据服务支撑平台分配）
     */
    @NotBlank(message = "平台编码不能为空")
    @Length(max = 50)
    private String platformcode;

    /**	是	业务流水号*/
    @NotEmpty(message = "业务流水号不能为空")
    @Length(max = 50)
    private String applyno;

    /**	是	保函编号*/
    @NotEmpty(message = "保函编号不能为空")
    @Length(max = 50)
    private String baohanno;

    /**	是	退保原因*/
    @NotEmpty(message = "退保原因不能为空")
    @Length(max = 500)
    private String reason;

}
